package cc.loac.heba.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class UserRelation {
    private Integer userRelationId;
    @JSONField(format ="yyyy-MM-dd kk:mm:ss")
    private Date createTime;
    private String email;
    private String followEmail;

    public Integer getUserRelationId() {
        return userRelationId;
    }

    public void setUserRelationId(Integer userRelationId) {
        this.userRelationId = userRelationId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFollowEmail() {
        return followEmail;
    }

    public void setFollowEmail(String followEmail) {
        this.followEmail = followEmail;
    }

    @Override
    public String toString() {
        return "UserRelation{" +
                "userRelationId=" + userRelationId +
                ", createTime=" + createTime +
                ", email='" + email + '\'' +
                ", followEmail='" + followEmail + '\'' +
                '}';
    }
}
